import {Artifact} from './artifact';
import {Chapter} from './chapter';
import {Entity} from './entity';
import {EnvItem} from './env-item';
import {MarkdownMenuNode} from './markdown-menu-node';

export class Doc {
    artifact: Artifact;

    chapters: Chapter[];

    entities: Entity[];

    docletVersion: number;

    markdownMaps: Map<string, string>;

    /**
     * 这个是由markdownMaps结构化组成的数据
     */
    mdRoot?: MarkdownMenuNode;

    /**
     * 数据从服务端拉下来时间
     */
    updateTime?: number;

    /**
     * 各环境的测试接口
     */
    restTest: string;
}
